[INFO] fetching crate rust-embed 6.4.0...
[INFO] checking rust-embed-6.4.0 against try#5c7108a2805ef56743d713d2789c5e802631c9e8 for pr-97739
[INFO] extracting crate rust-embed 6.4.0 into /workspace/builds/worker-7/source
[INFO] validating manifest of crates.io crate rust-embed 6.4.0 on toolchain 5c7108a2805ef56743d713d2789c5e802631c9e8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate rust-embed 6.4.0
[INFO] removed 0 missing examples
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate rust-embed 6.4.0
[INFO] tweaked toml for crates.io crate rust-embed 6.4.0 written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate crates.io crate rust-embed 6.4.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2ae2acc909f2e2a207d8c93d23fff771ba051513d873d0b027966fa0a86d5cf8
[INFO] running `Command { std: "docker" "start" "-a" "2ae2acc909f2e2a207d8c93d23fff771ba051513d873d0b027966fa0a86d5cf8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2ae2acc909f2e2a207d8c93d23fff771ba051513d873d0b027966fa0a86d5cf8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2ae2acc909f2e2a207d8c93d23fff771ba051513d873d0b027966fa0a86d5cf8", kill_on_drop: false }`
[INFO] [stdout] 2ae2acc909f2e2a207d8c93d23fff771ba051513d873d0b027966fa0a86d5cf8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4fb26b67e3107f1645e74eacd01bae52da404f4a90795ef9b1c6b1f8972a89e7
[INFO] running `Command { std: "docker" "start" "-a" "4fb26b67e3107f1645e74eacd01bae52da404f4a90795ef9b1c6b1f8972a89e7", kill_on_drop: false }`
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling proc-macro2 v1.0.37
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling syn v1.0.91
[INFO] [stderr]    Compiling cpufeatures v0.2.2
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling walkdir v2.3.2
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]     Checking rust-embed-utils v7.2.0
[INFO] [stderr]    Compiling rust-embed-impl v6.2.0
[INFO] [stderr]     Checking rust-embed v6.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `salvo`
[INFO] [stdout]  --> examples/salvo.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use salvo::prelude::*;
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `salvo`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `salvo`
[INFO] [stdout]  --> examples/salvo.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use salvo::http::{header, StatusCode};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `salvo`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `salvo::http::header`, `salvo::http::StatusCode`
[INFO] [stdout]  --> examples/salvo.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | use salvo::http::{header, StatusCode};
[INFO] [stdout]   |                   ^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> examples/salvo.rs:4:3
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `fn_handler` in this scope
[INFO] [stdout]   --> examples/salvo.rs:19:3
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[fn_handler]
[INFO] [stdout]    |   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Router`
[INFO] [stdout]  --> examples/salvo.rs:6:16
[INFO] [stdout]   |
[INFO] [stdout] 6 |   let router = Router::new()
[INFO] [stdout]   |                ^^^^^^ use of undeclared type `Router`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Router`
[INFO] [stdout]  --> examples/salvo.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 |     .push(Router::with_path("dist/<**>").get(static_embed))
[INFO] [stdout]   |           ^^^^^^ use of undeclared type `Router`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Router`
[INFO] [stdout]  --> examples/salvo.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 |     .push(Router::with_path("/<**>").get(static_embed));
[INFO] [stdout]   |           ^^^^^^ use of undeclared type `Router`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Server`
[INFO] [stdout]   --> examples/salvo.rs:11:3
[INFO] [stdout]    |
[INFO] [stdout] 11 |   Server::new(listener).serve(router).await;
[INFO] [stdout]    |   ^^^^^^ use of undeclared type `Server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex`
[INFO] [stdout]   --> examples/salvo.rs:28:18
[INFO] [stdout]    |
[INFO] [stdout] 28 |       let hash = hex::encode(content.metadata.sha256_hash());
[INFO] [stdout]    |                  ^^^ use of undeclared crate or module `hex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mime_guess`
[INFO] [stdout]   --> examples/salvo.rs:42:18
[INFO] [stdout]    |
[INFO] [stdout] 42 |       let mime = mime_guess::from_path(path).first_or_octet_stream();
[INFO] [stdout]    |                  ^^^^^^^^^^ use of undeclared crate or module `mime_guess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TcpListener`
[INFO] [stdout]   --> examples/salvo.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 |   let listener = TcpListener::bind("127.0.0.1:3000");
[INFO] [stdout]    |                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::TcpListener;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Request` in this scope
[INFO] [stdout]   --> examples/salvo.rs:20:33
[INFO] [stdout]    |
[INFO] [stdout] 20 | async fn static_embed(req: &mut Request, res: &mut Response) {
[INFO] [stdout]    |                                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Response` in this scope
[INFO] [stdout]   --> examples/salvo.rs:20:52
[INFO] [stdout]    |
[INFO] [stdout] 20 | async fn static_embed(req: &mut Request, res: &mut Response) {
[INFO] [stdout]    |                                                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> examples/salvo.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | async fn main() -> Result<(), std::io::Error> {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 15 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0752.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-embed` due to 16 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "4fb26b67e3107f1645e74eacd01bae52da404f4a90795ef9b1c6b1f8972a89e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4fb26b67e3107f1645e74eacd01bae52da404f4a90795ef9b1c6b1f8972a89e7", kill_on_drop: false }`
[INFO] [stdout] 4fb26b67e3107f1645e74eacd01bae52da404f4a90795ef9b1c6b1f8972a89e7
